//
//  XMGButton.m
//  weibo
//
//  Created by DP on 16/7/4.
//  Copyright © 2016年 DP. All rights reserved.
//

#import "XMGButton.h"

@implementation XMGButton


- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.titleLabel.font = [UIFont systemFontOfSize:14];
        [self setTitleColor:[UIColor grayColor] forState:UIControlStateNormal];
        self.imageEdgeInsets = UIEdgeInsetsMake(-50, 0,50, 0);
        self.contentEdgeInsets = UIEdgeInsetsMake(50, 10,-50, 0);
        self.titleEdgeInsets =  UIEdgeInsetsMake(10, -130,-10, -40);
        
    }
    
    return self;
}
@end
